<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>车佳宝-API文档</title>

<link href="./static/main.css" rel="stylesheet" type="text/css">
<script src="./static/jquery.js"></script>
<script language="javascript"> 
$(document).ready(function(){
	$(window).scroll(function (){
		if($(window).scrollTop() > 50)
		{
			var offsetTop = $(window).scrollTop()  +"px";
			$("#left_sidebar").css("top",offsetTop);
		}
		else
		{
			$("#left_sidebar").css("top","50px");
		}
	}); 
	$('.listParent').click(function(){
		$(this).next('ul').slideToggle('slow',function(){setText();});
	});
	$('#apilist').children('li:gt(0)').children('ul').slideUp('fast',function(){setText();});
	
}); 
function setText()
{
	$('#apilist').children('li').children('ul').each(function (index, domEle) {
		if ($(domEle).is(":hidden"))
		{
			$(domEle).prev('a').children('span').text("+");
		} 
		else
		{
			$(domEle).prev('a').children('span').text("-");
		}
	});
}
</script> 
</head>
<body>
<div id="main-container">

<div id="header">
  <div id="myhead">
	<h1><a id="logo" title="车佳宝-API文档" style="float:left; " href="http://www.17car.com.cn" target="_blank">车佳宝APP接口文档(V 0.0.1)</a></h1>
	
</div>
<div id="full-content">
  <div style="position: absolute;top:50px" id="left_sidebar">
    <div class="title">
      <table width="261" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:11px;">
        <tbody><tr>
          <td width="11" height="32" background="./static/help_banner_left.png">&nbsp;</td>
          <td align="center" valign="middle" background="./static/help_banner_middle.png" style="font-size:16px; color:#2c2c2c;">目录</td>
          <td width="11" background="./static/help_banner_right.png">&nbsp;</td>
        </tr>
      </tbody>
	  </table>
      <ul id="apilist">
        <li><a href="javascript:void(0);" class="listParent"><span></span>注册/登陆</a>
			<ul>
				<li><a href="#user_code">注册 - 发送验证码</a></li>
				<li><a href="#user_reg">注册 - 用户注册</a></li>	
				<li><a href="#user_info">注册第二步 - 用户个人信息&车辆绑定(N)</a></li>	
				<li><a href="#app_findpassword">登陆 - 找回密码(修改密码)</a></li>
				<li><a href="#app_login" class="listParent"><span></span>登陆 - 用户登陆</a></li>
				<li><a href="#app_bindmobile">登陆 - 绑定手机(N)</a></li>
				<li><a href="#app_bindshop" ><span></span>登陆 - 绑定服务点(N)</a></li>
				<li><a href="#app_member_level" ><span></span>登陆 - 获取用户等级规则</a></li>
			</ul>
		</li>
		<li><a href="javascript:void(0);" class="listParent"><span></span>首页</a>
			<ul>
				<li><a href="#home_violation">首页 - 违章查询(N)</a></li>
				<li><a href="#home_weather">首页 - 天气查询</a></li>
				<li><a href="#home_help_calls">首页 - 求助电话(N)</a></li>	
				<li><a href="#home_help_insurance">首页 - 保险公司列表</a></li>
				
				<li><a href="#reservation" class="listParent"><span></span>首页 - 预约</a></li>
				<li><a href="#home_reservation_add" class="listParent"><span></span>首页 - 预约 - 预约新增(N)</a></li>
				<li><a href="#home_reservation_get" class="listParent"><span></span>首页 - 预约 - 获取预约详细(N)</a></li>
				<li><a href="#home_reservation_gets" class="listParent"><span></span>首页 - 预约 - 获取预约列表(N)</a></li>
				<li><a href="#home_reservation_evaluate" class="listParent"><span></span>首页 - 预约 - 预约评价(N)</a></li>
				<li><a href="#home_reservation_cancel" class="listParent"><span></span>首页 - 预约 - 预约取消(N)</a></li>
				
				<li><a href="#home_system_conf" class="listParent"><span></span>首页 - 资讯 - 获取分类ID</a></li>
				<li><a href="#home_system_list" class="listParent"><span></span>首页 - 资讯 - 获取列表</a></li>
				<li><a href="#home_system_article_view" class="listParent"><span></span>首页 - 资讯 - 获取详细</a></li>
				
				<li><a href="#home_notice_gets" class="listParent"><span></span>首页 - 提醒 - 获取列表(N)</a></li>
				<li><a href="#home_notice_get" class="listParent"><span></span>首页 - 提醒 - 获取详细(N)</a></li>
			</ul>
		</li>
		<li><a href="javascript:void(0);" class="listParent"><span></span>车辆信息</a>
			<ul>
				<li><a href="#app_edit_member">修改 - 个人资料(N)</a></li>
				<li><a href="#app_edit_mobile">修改 - 修改手机号(N)</a></li>
				<li><a href="#app_edit_car">绑定/编辑 - 车辆信息(N)</a></li>
				<li><a href="#user_car_list">获取车辆列表(N)</a></li>
				<li><a href="#user_car_get">获取车辆详细(N)</a></li>
				<li><a href="#car_brand">获取车辆品牌信息</a></li>
			</ul>
		</li>
		<li><a href="javascript:void(0);" class="listParent"><span></span>服务点</a>
			<ul>
				<li><a href="#service-adviser-gets">服务点 - 顾问 - 获取列表(N)</a></li>
				<li><a href="#service-adviser-bind">服务点 - 顾问 - 绑定顾问(N)</a></li>
				<li><a href="#service-adviser-message">服务点 - 顾问 - 在线咨询(N)</a></li>
				<li><a href="#service-store-gets">服务点 - 店铺 - 获取列表(N)</a></li>
				<li><a href="#service-store-getPlan">服务点 - 店铺 - 获取预约状态</a></li>
				<li><a href="#service-store-car">服务点 - 店铺 - 品牌车型列表(N)</a></li>
				<li><a href="#service-store-carSlow">服务点 - 店铺 - 根据车型ID获取车款列表(N)</a></li>
				<li><a href="#service-store-carDetail">服务点 - 店铺 - 根据车款ID获取详情(N)</a></li>
				<li><a href="#service-store-activity">服务点 - 店铺 - 获取店铺活动(N)</a></li>
				<li><a href="#service-store-activity_detail">服务点 - 店铺 - 获取活动详情</a></li>
				<li><a href="#service-store-sign">服务点 - 店铺 - 活动报名(N)</a></li>
				<li><a href="#service-store-article">服务点 - 店铺 - 根据店铺ID获取资讯(N)</a></li>
			</ul>
		</li>

		<li><a href="javascript:void(0);" class="listParent"><span></span>积分</a>
			<ul>
				<li><a href="#score-getSetting">积分 - 获取静态设置</a></li>
				<li><a href="#score-share">积分 - 分享领元宝 - 邀请好友(N)</a></li>
				<li><a href="#score-clue">积分 - 分享领元宝 - 提供线索(N)</a></li>

				<li><a href="#score-signin-doSign">积分 - 签到 - 提交(N)</a></li>
				<li><a href="#score-signin-getSigns">积分 - 签到 - 获取记录(N)</a></li>
				
				<li><a href="#score-getRecord">积分 - 元宝记录 - 列表[获得|消费](N)</a></li>
				
				<li><a href="#score-doCash">积分 - 元宝兑换 - 兑换礼品(N)</a></li>
				<li><a href="#score-getsCash">积分 - 元宝兑换 - 商品列表(N)</a></li>
				<li><a href="#score-game-getPrize">积分 - 元宝抽奖 - 商品列表(N)</a></li>
				<li><a href="#score-game-doPrizeCalc">积分 - 元宝抽奖 - 抽奖计算(N)</a></li>
				
				<li><a href="#score-order-gets">积分 - 我的奖品 - 获取列表(N)</a></li>
				<li><a href="#score-order-getCount">积分 - 我的奖品 - 统计(N)</a></li>
				
				<li><a href="#score-game-getConfig">积分 - 游戏 - 获取配置</a></li>
				<li><a href="#score-game-scratch">积分 - 游戏 - 刮刮卡计算(N)</a></li>
				<li><a href="#score-game-rote">积分 - 游戏 - 大转盘计算(N)</a></li>
				
			</ul>
		</li>

		<li><a href="javascript:void(0);" class="listParent"><span></span>车圈</a>
			<ul>
				<li><a href="#circle-getsJoins">车圈 - 获取我的车圈(N)</a></li>
				<li><a href="#circle-getsLastThemes">车圈 - 获取推荐店铺主题(N)</li>
				<li><a href="#circle-getsThemes">车圈 - 获取主题列表(N)</li>
				<li><a href="#circle-theme-get">车圈 - 获取主题详细(N)</li>
				<li><a href="#circle-comment-gets">车圈 - 获取主题评论(N)</li>
				<li><a href="#circle-do-comment">车圈 - 评论主题(N)</li>
				<li><a href="#circle-do-like">车圈 - 赞主题(N)</li>
				<li><a href="#circle-do-share">车圈 - 分享主题(N)</li>
			</ul>
		</li>
      </ul>
    </div>
  </div>
  
  <div style="float:right; margin-left:18px;  width:752px">
  <div class="faq-block">
  <div class="faq-block-content">
  <div class="faq-item"> 
	<div class="api_name">接口请求权限约定说明</div>
	<div class="answer">
	<ul>
		<li>约定参数: </li>
		<li class="param">
		client_id：约定KEY(1895756ebec5bc62351b15b9a7541901)</br>
		</li>
		<li>授权TOKEN(可选 - 加密用户UID及登录信息): </li>
		<li class="param">
		token:TOKEN(注册成功后 & 登陆成功后可获取)
		</li>
		<li>返回码说明: </li>
		<li class="param">
		JSON格式：{"code":200,"request":"\/user\/getCode","data":"42aeoj","msg":null}<br/>
	</ul>
	每次调用接口时，可能获取正确或错误的返回码。【未完待更新】<br/>
	<pre>
-1 => '约定KEY错误',
200 => '调用成功',
300 => '未验证手机用户',
301 => '还未绑定账户',
400 => '未绑定服务点',
500 => '未知错误',
1001 => '记录不存在',
1002 => '操作未授权',
1003 => '操作失败',
1004 => '账户或密码错误',
1005 => '找回密码失败',
1006 => '登陆类型错误',
1007 => '授权失败',
1008 => '没有任何修改',

3001 => '手机号格式错误或为空',
3002 => '该手机号未注册',
3003 => '手机号已被注册',
3004 => '密码为空或错误',
3005 => '验证码错误',
3006 => '用户名由3到15个字符组成',
3007 => '包含不允许注册的词语',
3008 => '用户名重复',
3009 => 'Email不允许注册或已被注册',
3010 => '该用户还未绑定手机号',
3011 => '旧手机错误',
	
3012 => '车型不能为空',
3013 => '车牌号地区不能为空',
3014 => '车牌号不能为空',
3015 => '车架号不能为空',
3016 => '发动机号不能为空',
	
3100 => '无效的预约类型',
3101 => '无效的店铺ID',
3102 => '无效的日期参数',
3103 => '无效的车辆ID',
3104 => '无效的顾问ID',
3105 => '无效的时间参数',
3106 => '参数提交有误，请重试',
3107 => '预约未执行，请执行后再试',
3108 => '评价失败，请重试',
3109 => '不能重复评价',
3110 => '预约已受理，不能取消',
3111 => '请填写预约项目',
3112 => '请填写预约项目价格',
3113 => '该店铺未配置预约时间',
3114 => '无效的活动ID',

3200 => '未知的区域ID',
3210 => '不能重复签到',
3211 => '签到失败，请稍后再试',
3212 => '记录类型错误',

	

3310 => '元宝不足',
3311 => '无效的礼品ID'
	</pre>
	</div>
	
	</div>
	  </div>
  </div>
  <div class="faq-block" id="user_code">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">注册 - 发送验证码</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/user/getCode">http://www.mycjj.com/openapi/user/getCode</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
                <li>参数说明: </li>
                <li class="return">
				<pre>mobile: 手机号
type:验证类型(1:注册验证码,2:找回密码,3:绑定手机,4:修改密码,5:修改手机)
				</pre>
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>	
{ "code":200,
  "request":"/user/getCode",
  "data":"42aeoj",//手机6位验证码
  "msg":null
}
				</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	<div class="faq-block" id="user_reg">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">注册 - 用户注册</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/user/regMember">http://www.mycjj.com/openapi/user/regMember</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
                <li>参数说明: </li>
                <li class="return">
				mobile: 手机号</br>
				code:验证码</br>
				password:密码</br>
				</li>
				<li>第三方登陆注册参数说明: </li>
				<li class="return">
				login_type:注册绑定类型(sina:新浪微博登陆,tencent:腾讯QQ登陆)</br>
				open_id:第三方唯一ID</br>
				open_info:第三方授权信息(JSON)</br>
				device_type:设备类型 [android|ios]
				</li>
				<li>返回结果: </li>
				<li class="return">
					<pre>
{
	"code": 200,
	"request": "/user/regMember",
	"data": {
		"member_id"		: 1,			// 用户唯一ID
		"member_name"	: "test", 			// 用户昵称
		"member_mobile"	: "18792448443",		// 用户手机号
		"member_sinaopenid" : "2230DDD2C58F2B98EC3D513FB1E32502", //绑定新浪微博授权openid
		"member_qqopenid" : "2230DDD2C58F2B98EC3D513FB1E32502", //绑定QQ授权openid
		"member_token"	: "7486f73hHxRad15ZA5BOdjcH4cYP4t1V5pYx2013xPwkllInjTAdTH\/rFaRVuA4aXVKv\/vdUpgaOZ51BrgNyWxY4mVE",		//授权token
	},
	"msg": null
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	
	<div class="faq-block" id="user_info">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">注册第二步 - 用户个人信息&添加车辆(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/user/regMember2">http://www.mycjj.com/openapi/user/regMember2</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
                <li>参数说明: </li>
                <li class="return">
				==============用户信息参数</br>
				member_truename: 姓名</br>
				member_sex:性别(3=保密,2=女,1=男)</br>
				member_provinceid:省份ID</br>
				member_cityid:城市ID</br>
				member_areaid:区域ID</br>
				==============车辆信息参数</br>
				store_id:店铺ID</br>
				brand1_id:品牌ID</br>
				brand2_id:车系ID</br>
				brand3_id:车型ID</br>
				brand4_id:车款ID</br>
				plate_area:车牌前缀(如:陕 - APP端固定死全国车牌地区前缀选择框)</br>
				plate_number:车牌号</br>
				chassis_number:车架号</br>
				engine_number:发动机号</br>
				regist_number:登记证书编号</br>
				city_code_id:城市代码ID（违章必须）<br/>
				buy_date:购车日期</br>
				insurance_id:保险公司选择ID(请传保险公司ID)</br>
				applicant_date:投保日期</br>
				</li>
				
				<li>返回结果: </li>
				<li class="return">
					<pre>
{
	"code": 200,
	"request": "/user/regMember2",
	"data": {
		"car_id"		: 10,			//添加后的车辆ID
	},
	"msg": null
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	
	<div class="faq-block" id="app_findpassword">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">登陆 - 找回密码(修改密码)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/user/findPassword">http://www.mycjj.com/openapi/user/findPassword</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
                <li>参数说明: </li>
                <li class="return">
				mobile:手机号</br>
				code: 验证码</br>
				new_password:新密码</br>
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>{
"code":200,
"request":"/user/findPassword",
"data":null,
"msg":""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
  <div class="faq-block" id="app_login">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">登陆 - 用户登陆</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/user/login">http://www.mycjj.com/openapi/user/login</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
                <li>参数说明: </li>
                <li class="return">
				account: 账户</br>
				password:密码</br>
				login_type:登陆类型(web:普通登陆,sina:新浪微博登陆,tencent:腾讯QQ登陆)</br>
				open_id:第三方唯一ID(login_type=web & open_id非空，则为登陆并绑定)</br>
				open_info:第三方授权信息(JSON)</br>
				device_type:设备类型 [android|ios]
				</li>
				<li>返回结果: </li>
				<li class="return">
<pre>{
 "code":200,
 "request":"/user/login",
 "data":
{
 "token":"a07285nh5wICD2s14iMsrrERLG1CrnA8MKG0dCQcYYPFUADPgw20dI9c8NqzNNb4Q0K24xxcGxbuMCrjk",//授权TOKEN
 "member_arr":
  {
   "member_id":"113858",//用户ID
   "member_name":"batu",//用户名
   "member_truename":"",//用户姓名
   "store_id":"0", 
   "member_store":"0" //绑定服务点ID
   "member_avatar":"http://img.mycjj.com/upload/xxx.jpg",//用户头像
   "member_sex":"0",
   "member_birthday":null,
   "member_passwd":"e10adc3949ba59abbe56e057f20f883e",
   "member_email":"1235355@qq.com",
   "member_qq":"",
   "member_msn":"",
   "member_ww":null,
   "member_login_num":"1",
   "member_time":"1399347708",
   "member_login_time":"1400049077",
   "member_old_login_time":"1400049043",
   "member_login_ip":"",
   "member_old_login_ip":"",
   "member_goldnum":"0",
   "member_goldnumcount":"0",
   "member_goldnumminus":"0",
   "member_qqopenid":"",
   "member_qqinfo":"",
   "member_sinaopenid":"",
   "member_sinainfo":"",
   "member_points":"5",                               // 用户剩余元宝
   "member_total_points": "2105",                     // 用户总元宝
   "available_predeposit":"0.00",
   "freeze_predeposit":"0.00",
   "inform_allow":"1",
   "member_is_admin":"0",
   "member_phone":null,
   "company_id":"00000000000",
   "is_buy":"1",
   "is_allowtalk":"1",
   "member_state":"1",
   "member_credit":"0",
   "member_snsvisitnum":"0",
   "member_areaid":null,
   "member_cityid":null,
   "member_provinceid":null,
   "member_areainfo":null,
   "member_mobile":"18792448443",
   "member_oauth":"",
   "product_id":"0",
   "product_want_id":"0"
  },
 "member_cars": {
            "id": "1",//车辆ID
            "member_id": "8119",
            "city_code_id": "0",
            "store_id": "11",//车辆绑定店铺ID
            "brand1_id": "1",
            "brand2_id": "2",
            "brand3_id": "3",
            "brand4_id": "4",
            "plate_area": "陕",
            "plate_number": "陕A108SV",//车牌号
            "plate_type": "2",
            "chassis_number": "1111",
            "engine_number": "1111",
            "regist_number": "",
            "buy_date": "1400515200",
            "insurance_id": "12",
            "applicant_date": "1400515200",
            "applicant_end_date": "1432051200",
            "yearly_check_date": "1463673600",
            "add_time": "0",
            "car_name": "",
			"brand_icon": "http://img.mycjj.com/upload/car_brand/ad86d34655c5530d4aebe4956a520db3.jpg"//品牌LOGO
        },
 "member_stores": {
            "store_id": "4",//绑定服务点ID
            "store_name": "金恒德车品直营店",//店铺名称
            "store_owner": "物产元通汽车馆",//店主真实姓名
            "store_auth": "1",//店铺是否认证
            "name_auth": "1",//店主是否认证
            "grade_id": "2",
            "member_id": "4",
            "member_name": "zlmagic88",
            "store_owner_card": "330302198811187318",
            "sc_id": "156",
            "area_id": "2140",
            "area_info": "浙江省\t杭州市\t拱墅区",
            "store_address": "拱墅区沈半路245号 元通汽车电子商务中心",
            "store_zip": "310000",
            "store_tel": "4001010571",
            "store_image": "",
            "store_image1": "",
            "store_state": "1",
            "store_close_info": "",
            "store_sort": "255",
            "store_time": "1331168938",
            "store_end_time": "1585065600",
            "store_banner": "438d897ec4a728fe6b28acdc3ae343ca.jpg",
            "store_logo": "3b660866422b363c8880a59a2dbdcfac.jpg_small.jpg",
            "store_keywords": "元通,汽车商城,新车,店铺,4S店,旗舰店,汽车用品",
            "store_description": "元通汽车商场旗舰店是提供各品牌4S店新车最新报价的店铺",
            "store_qq": "销售专家|2755174019",
            "store_ww": "元通汽车电子商务",
            "store_msn": "",
            "description": "本店铺出售各类汽车用品，价廉物美</span></span>",
            "store_ads": "",
            "store_domain": "",
            "store_domain_times": "0",
            "store_recommend": "1",
            "store_audit": "1",
            "store_theme": "default",
            "store_credit": "1068",
            "praise_rate": "98.31",
            "store_cs_name": null,
            "store_cs_password": null,
            "store_cs_key": null,
            "store_cs_is_open": "0",
            "store_label": "",
            "store_zy": "",
            "store_desccredit": "4.35",
            "store_servicecredit": "4.68",
            "store_deliverycredit": "4.99",
            "store_code": "test0841915100394f1d37743cb76e1fe24d.png",
            "store_collect": "0",
            "store_slide": "fbdfafb4bfba9fd108310bb62ef09f9a.jpg,d09ab1d651b23785ebb869ecb86e6bdb.jpg,,,",
            "store_slide_url": "http://,http://,http://,http://,http://",
            "store_center_quicklink": null,
            "store_stamp": null,
            "store_printdesc": null
        }
},
"msg":""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	<div class="faq-block" id="app_bindmobile">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">登陆 - 绑定手机(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/user/bindMobile">http://www.mycjj.com/openapi/user/bindMobile</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
                <li>参数说明: </li>
                <li class="return">
				token:授权token</br>
				bind_mobile: 手机号</br>
				bind_code:验证码</br>
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
	"code": 200,
	"request": "/user/bindMobile",
	"data": null,
	"msg": null
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<div class="faq-block" id="app_member_level">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">登陆 - 获取用户等级规则</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/user/getLevelRule">http://www.mycjj.com/openapi/user/getLevelRule</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    code : 200, 
    request: "/user/getLevelRule", 
    data: {
        "1": ["0", "99"],                // 等级 [积分下限，积分上限]
        "2": ["100", "499"], 
        "3": ["500", "1199"], 
        "4": ["1200", "1999"], 
        "5": ["2000", "999999"]
    }, 
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	


	<div class="faq-block" id="home_violation">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 违章查询(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/userCar/getViolation">http://www.mycjj.com/openapi/userCar/getViolation</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数: 无</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>{
    code: 200,
    request: "/userCar/getViolation",
    data: [{
        plate: "浙AA0000",                                         // 车牌号码
        list: [{
            date: "2014-03-06 09:10:00",                           // 违章时间
            area: "[拱墅区]金华路_金华路温州路口()",               // 违章地点
            act: "不按规定临时停车影响其他车辆和行人通行的",       // 违章行为
            code: "",                                              // 违章代码
            fen: "0",                                              // 违章扣分
            money: "50",                                           // 违章罚款
            handled: "0"                                           // 是否处理,1处理 0未处理 空未知
        },{
            date: "2014-05-16 08:22:00",
            area: "[拱墅区]温州路_温州路金华路口()",
            act: "不按规定临时停车影响其他车辆和行人通行的",
            code: "",
            fen: "0",
            money: "50",
            handled: "0"
        }]
    },{
       // 第二个车的违章信息..
    }],
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	
	
	
	
	<div class="faq-block" id="app_bindshop">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">登陆 - 绑定服务点(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/user/bindStore">http://www.mycjj.com/openapi/user/bindStore</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
                <li>参数说明: </li>
                <li class="return">
				token:授权token</br>
				store_id: 服务点ID</br>
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>{"code":200,
"request":"/user/bindStore",
"data":
	{
	  "store_id":2
	},
"msg":""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	<div class="faq-block" id="app_edit_member">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">修改 - 个人资料(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/user/editMember">http://www.mycjj.com/openapi/user/editMember</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
                <li>参数说明: </li>
                <li class="return">
				<pre>
token:授权TOKEN
member_truename:用户真实姓名
member_sex:用户性别(1=男,2=女,3=保密)
member_areaid:地区ID
member_cityid:城市ID
member_provinceid:省份ID
member_avatar:file接收KEY 
				</pre>
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>	
{ "code":200,
  "request":"/user/editMember",
  "data":{},//返回修改成功字段及数据
  "msg":null
}
				</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	
	
	
	
<div class="faq-block" id="home_weather">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 天气查询</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/index/weather">http://www.mycjj.com/openapi/index/weather</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
                <li class="return">city: string 城市名字 如:"上海"</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>{
    code: 200,
    request: "/index/weather",
    data: {
        city: "西安",                    // 城市名称
        air: 62,                         // 空气质量值
        air_txt: "良",                   // 空气质量
        wash: "不宜",                    // 洗车
        low: 17,                         // 最低温度
        high: 25,                        // 最高温度
        weather: "小雨转小到中雨",      // 天气描述
        limit: "本地区不限号"           // 限号
    },
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<div class="faq-block" id="app_edit_mobile">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">修改 - 修改手机号(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/user/editMobile">http://www.mycjj.com/openapi/user/editMobile</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
                <li>参数说明: </li>
                <li class="return">
				<pre>
token:授权TOKEN
old_mobile:旧手机号
new_mobile:新手机号
code:新手机号验证码
				</pre>
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>	
{ "code":200,
  "request":"/user/editMobile",
  "data":{},
  "msg":null
}
				</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	
	<div class="faq-block" id="app_edit_car">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">绑定/编辑车辆信息(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/userCar/bindCar">http://www.mycjj.com/openapi/userCar/bindCar</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数: 
				</li>
				  <li class="return">
				<pre>
token:授权TOKEN
type:操作动作(bind:绑定新车辆,edit:编辑某辆车)
car_id:车辆ID(只在编辑车辆时需要传)
store_id:服务点ID
brand1_id:品牌ID
brand2_id:车系ID
brand3_id:车型ID
brand4_id:车款ID
plate_area:车牌前缀(如:陕 - APP端固定死全国车牌地区前缀选择框)
plate_number:车牌号
chassis_number:车架号
engine_number:发动机号
regist_number:登记证书编号
city_code_id:城市代码ID（违章必须）
buy_date:购车日期
insurance_id:保险公司选择ID(请传保险公司ID)
applicant_date:投保日期</pre>
				<li>返回结果: </li>
				<li class="return">
				<pre>	
{
    code: 200,
    request: "/userCar/bindCar",
    data:{
       id:1 //车辆ID
    },
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<div class="faq-block" id="user_car_list">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">获取车辆列表(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/userCar/gets">http://www.mycjj.com/openapi/userCar/gets</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数: 无</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>	
{
    code: 200,
    request: "/userCar/gets",
    data: [ {
        id: 1,                                                     // 车辆ID
        brand_logo: "upload/car/xxx.jpg",                          // 品牌LOGO
        plate_number: "陕A00010",                                  // 车牌
        car_name: "阿斯顿马丁DB9 2011款 6.0",                     // 车款
        store_id: 4,                                               // 店铺ID
        store_name: "XXX4S店"                                      // 店铺名称
    },{
	    ...
	}
    ],
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<div class="faq-block" id="user_car_get">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">获取车辆详细(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/userCar/get">http://www.mycjj.com/openapi/userCar/get</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
				<li class="return">
				car_id: int 车辆ID
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>	
{
    code: 200,
    request: "/userCar/get",
    data: {
        id: 1,                                                 // 车辆ID
        store_id: 4,                                           // 店铺ID
        store_name: "金恒德车品直营店",
        store_tel: "4001010571",                               // 4S店铺电话
        store_point: "120.177,30.3349",                        // 4S店坐标
        adviser: {                                             // 顾问信息
            id: "14",                                                  // 顾问ID 
            store_id: "4",                                             // 顾问所属店铺ID
            name: "李军",                                              // 顾问姓名
            tel: "0571-53368134",                                      // 顾问电话
            phone: "15628452359",                                      // 顾问手机
            avatar: "http://img.mycjj.com/upload/store/s.jpg",         // 顾问头像 
            email: "451357521336@cjj.com",                             // 顾问邮件
            post: "售后专家",                                         // 顾问职称
            company: "云服务"                                         // 所属公司
        },
        buy_date: "2014-05-08",                                // 购车时间
        car_name: "阿斯顿马丁DB9 2011款 6.0 Touchtronic",
        plate_number: "陕A00010",
        chassis_number: "589899999K00",                        // 车架号
        engine_number: "3366988888",                           // 发动机号
        applicant_name: "太平洋保险公司",                     // 保险公司名称
        applicant_end_date: "2015-05-08",                      // 保险到期时间
        applicant_date: "2014-05-08",                          // 投保时间
        yearly_check_date: "2014-06-19"	                       // 年检时间
        brand1_id: 1,                                          // 车辆品牌ID
        brand2_id: 2,                                          // 车系ID
        brand3_id: 3,                                          // 车型ID
        brand4_id: 4,                                          // 车款ID
    },
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<div class="faq-block" id="car_brand">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">获取车辆品牌信息</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/userCar/getBrand">http://www.mycjj.com/openapi/userCar/getBrand</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数: </li>
				<li class="return">
				id: int 品牌ID, 获取顶级品牌信息请不要填写该参数
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>	
{
    code: 200,
    request: "/userCar/getBrand",
    data: [{
        id: "67",                           // 品牌ID，如果要获取萨博的下一级品牌列表时，该接口的参数ID，填这个值就行
        name: "萨博",                       // 品牌名称
        icon: "http://xxx.jpg"              // 品牌LOGO
    },{
        id: "84",
        name: "长城",
        icon: "http://xxx.jpg"
    },{
        id: "85",
        name: "长丰",
        icon: "http://xxx.jpg"
    }],
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>


	
	
	<div class="faq-block" id="home_help_calls">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 求助电话</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/store/getHelpCalls">http://www.mycjj.com/openapi/store/getHelpCalls</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>参数说明: </li>
                <li class="return">
				<pre>
store_id:   int    绑定的4S店ID
page:       int    分页参数</pre>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    code: 200,
    request: "/store/getHelpCalls",
    data: {
        has_next_page: false,
        list: [
            {
                id: "2",
                title: "火警中心",
                tel: "110",
                type: "2",
                store_id: "0"
            },
            {
                id: "3",
                title: "店铺1",
                tel: "400800920620",
                type: "2",
                store_id: "1"
            }
        ]
    },
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		  </div>
		</div>
	</div>

	<div class="faq-block" id="home_help_insurance">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 保险公司列表</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/store/getInsuranceList">http://www.mycjj.com/openapi/store/getHelpCalls</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>参数说明: </li>
                <li class="return">
				<pre>
store_id:   int    绑定的4S店ID
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/getInsuranceList",
    "data": [
        {
            "id": "1",
            "title": "平安保险公司",//保险公司名称
            "tel": "10000",//保险公司电话
            "type": "1",
            "store_id": "298"
        }
    ],
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		  </div>
		</div>
	</div>

	<div class="faq-block" id="home_notice_gets">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 提醒 - 获取列表(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/msg/gets">http://www.mycjj.com/openapi/msg/gets</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>参数说明: </li>
                <li class="return">offset:   int    翻页偏移<br/>num: int 数量</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    code: 200,
    request: "/msg/gets",
    data: {
    list: [{
        message_id: 646,                        // 消息ID
        message_from_id: 0,                     // 发送者ID，目前只有0，系统消息
        message_from_member: "系统消息",        // 消息发送者用户名
        message_content: "测试信鸽",            // 消息内容, string 文本类型
        message_time: "2014-06-20 11:44:58",     // 消息发送时间
        message_is_read: false                   // 该消息是否已读
    },{
        message_id: 645,
        message_from_id: 0,
        message_from_member: "系统消息",
        message_content: "hello",
        message_time: "2014-06-20 10:30:10",
        message_is_read: true
    }],
    has_next_page: false,                       // 是否有下一页
    no_read: 1                                  // 未读的消息数量, 只在offset=0时有意义
    },
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		  </div>
		</div>
	</div>

	<div class="faq-block" id="home_notice_get">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 提醒 - 获取详细(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/msg/get">http://www.mycjj.com/openapi/msg/get</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>参数说明: </li>
                <li class="return">message_id:   int    消息ID</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    code: 200,
    request: "/msg/get",
    data: {
        id: 3,                                // 消息ID
        from_id: 0,                           // 发送者ID 
        from_name: "系统消息",                // 发送者姓名
        content: "测试通知",                  // 消息内容
        time: "2012-06-05 10:27:44"            // 发送时间
    },
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		  </div>
		</div>
	</div>
	
<!-- ############################## 预约模块开始 ########################################### -->
	<h2 id="reservation">首页 - 预约模块</h2>
	<div class="faq-block" id="home_reservation_add">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 预约 - 新增</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/reservation/add">http://www.mycjj.com/openapi/reservation/add</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>参数说明: </li>
                <li class="return">
				<pre>
type: 		int		预约类型 1-维修, 2-保养
store_id:	int		选择的店铺ID
arrive_date:	Date		到店日期，格式如：2014-05-10
car_id:		int		用户车辆ID
arrive_time:	string		到店时间, 格式：12:00-13:30
adviser_id:	int		顾问ID
project:	string		预约项目
price:		float		预约项目价格
				</pre>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
	"code": 200,
	"request": "/reservation/add",
	"data": null,
	"msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		  </div>
		</div>
	</div>

	<div class="faq-block" id="home_reservation_get">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 预约 - 获取预约详细</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/reservation/get">http://www.mycjj.com/openapi/reservation/get</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数:</li>
                <li>参数说明: </li>
                <li class="return">
				id: int 预约ID
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
	"code": 200,
	"request": "/reservation/get",
	"data": {
		"type"		: 1,			// 预约类型, 可能的值，[1-维修 | 2-保养]
		"store_id"	: 1, 			// 店铺ID
		"store_name"	: "xxx4S店",		// 店铺名称
		"arrive_date"	: "2014-05-20",		// 到店日期
		"arrive_time"	: "10:00-13:00",	// 到店时间
		"project"	: "9000公里包养",	// 维修/保养项目
		"price"		: "120.00",		// 消费额
		"status"	: 1,			// 预约状态：[ 0-未受理 | 1-已受理 | 2-待评价 | 3-已完成]
		"evaluate_level" : 3,			// 评价级别 1-5为评价级别
		"evaluate_msg"	: "评论内容",
		"adviser_id"	: 1,			// 顾问ID
		"adviser_name"	: "XXX"			// 顾问姓名
		"adviser_name"	: "13200000000",	// 顾问电话
		"if_cancel"	: 0			// 是否已取消'
	},
	"msg": null
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	
		<div class="faq-block" id="home_reservation_gets">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 预约 - 获取预约列表</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/reservation/gets">http://www.mycjj.com/openapi/reservation/gets</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数:</li>
                <li>参数说明: </li>
                <li class="return">
				page: int 页码，每页返回10条记录
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
	"code": 200,
	"request": "/reservation/gets",
	"data": {
		"page"		: 1,			// 当前页，调用时传递的页码被回传
		"list"		: [
			{
			"id" : 1,			// 预约ID
			"type" : 2,			// 预约类型
			"store_name" : "xxx4S店",	// 店铺名称
			"status" : 1,			// 预约状态：[ 0-未受理 | 1-已受理 | 2-待评价 | 3-已完成]
			"arrive_date" : "2014-05-12",	// 到店日期
			"arrive_time" : "10:00-11:00"	// 到店时间
			},
			....
		]
	},
	"msg": null
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<div class="faq-block" id="home_reservation_evaluate">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 预约 - 预约评价</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/reservation/evaluate">http://www.mycjj.com/openapi/reservation/evaluate</a><br/>
			</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数:</li>
                <li>参数说明: </li>
                <li class="return">
				id: int 预约ID</br>
				level: int 评价级别1-5</br>
				msg: string 评价内容
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
	"code": 200,
	"request": "/reservation/evaluate",
	"data": null,
	"msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<div class="faq-block" id="home_reservation_cancel">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 预约 - 预约取消</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/reservation/cancel">http://www.mycjj.com/openapi/reservation/cancel</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数:</li>
                <li>参数说明: </li>
                <li class="return">
				id: int 预约ID
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
	"code": 200,
	"request": "/reservation/cancel",
	"data": null,
	"msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<div class="faq-block" id="home_system_conf">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 资讯 - 获取配置</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/system/article_class">http://www.mycjj.com/openapi/system/article_class</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>特别说明: 请求资讯内容时需要传递该请求返回的分类ID, 如果某分类ID为0,表示后台没有绑定，可显示无记录</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>{
    code : 200,
    request : "/system/article_conf",
    data : {
        acb_new_car: "14",          // 新车资讯分类ID
        acb_use: "15",              // 用品资讯分类ID
        acb_back: "16"              // 后服务资讯分类ID
    },
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	
	<div class="faq-block" id="home_system_list">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 资讯 - 获取文章列表</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/system/article_list">http://www.mycjj.com/openapi/system/article_list</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数:</li>
                <li>参数说明: </li>
                <li class="return">
				cid: int 资讯分类ID,可通过上一接口获得<br/>
				offset: int 偏移,默认为0<br/>
				limit: int 请求的数量,默认为10
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>{
    code : 200,
    request : "/system/article_list",
    data : {
        list: [{
            id: "56",                          // 资讯ID
            title: "交易条款",                 // 资讯标题
            time: "2012-04-14 14:27:16",       // 资讯发布时间
            brief: "简介..",                   // 资讯简介
            cover: "http://xxx.com/1.jpg"      // 封面图片,为空表示木有图片
        },{
            id: "10",
            title: "购物流程",
            time: "2011-01-11 09:29:40",
            brief: "简介..",                   // 资讯简介
            cover: ""
		}],
        has_next_page: false                   // 是否有下一页
    },
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<div class="faq-block" id="home_system_article_view">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">首页 - 资讯 - 获取详细</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
				<a href="http://www.mycjj.com/openapi/system/article_detail">http://www.mycjj.com/openapi/system/article_detail</a><br/>
			</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
                <li>参数说明: </li>
                <li class="return">
				id: int 资讯ID
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>{
    code : 200,
    request : "/system/article_detail",
    data : {
        article_id : "1",                            // 资讯ID
        article_title : "资讯标题",
        article_time : "2014-05-12 12:00:00",        // 资讯发布时间
        article_content: "资讯内容包含图片与HTML标签",
        cover : "http://xxx.com/1.jpg",               // 资讯封面
        brief : "这里是简介"
    },
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<h2 id="reservation">服务点 - 顾问模块</h2>
	<div class="faq-block" id="service-adviser-gets">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 顾问 - 获取顾问列表</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/getAdvisers">http://www.mycjj.com/openapi/store/getAdvisers</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数:</li>
                <li>参数说明: </li>
                <li class="return">
				store_id: int 店铺ID<br/>
				limit: int 返回的数量<br/>
				offset: int 偏移量
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/getAdvisers",
    "data": {
        "list": [
            {
                "id":                "1",                                // 顾问ID
                "store_id":          "4",                                // 顾问所属店铺ID
                "name":              "顾问1",                            // 姓名
                "tel":               "13200000000",                      // 顾问座机
                "phone":             "02988888888",                      // 顾问手机
                "avatar":            "upload/store/adviser/gw1.jpg",     // 顾问头像
                "email":             "gw@test.com",                      // 顾问邮箱
                "add_time":          "2014-05-13 10:50:01",              // 顾问添加时间
                "post":              "售后顾问",                         // 顾问职位
            }
        ],
        "has_next_page": false                                           // 是否有下一页
    },
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	<div class="faq-block" id="service-adviser-message">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 顾问 - 在线咨询(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/addMessage">http://www.mycjj.com/openapi/store/addMessage</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
				<li>请求参数:</li>
                <li>参数说明: </li>
                <li class="return">
				store_id: int 店铺ID<br/>
				adviser_id: int 顾问ID<br/>
				message: text 咨询留言内容
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/getAdvisers",
    "data": null,
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

	<div class="faq-block" id="service-adviser-bind">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 顾问 - 绑定顾问(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/bindAdviser">http://www.mycjj.com/openapi/store/bindAdviser</a>
				</li>
				<li>请求方式: POST</li>
				<li>返回格式: JSON</li>
				<li>请求参数:</li>
                <li>参数说明: </li>
                <li class="return">
				car_id: int 车辆ID<br/>
				adviser_id: int 顾问ID
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/bindAdviser",
    "data": null,
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	
	
	<div class="faq-block" id="service-store-gets">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 店铺 - 获取列表</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/getStores">http://www.mycjj.com/openapi/store/getStores</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
                <li>参数说明: </li>
                <li class="return">
				area_id: int 区域ID<br/>
				points: string 当前百度坐标， 如："12.00,78.00"<br/>
				brand_id: int 一级品牌ID
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    code: 200,
    request: "/store/getStores",
    data: {
        has_next_page: false,
        list: [{
            store_id: 4,                                                        // 店铺ID
            store_distance: 6665.9803163798,                                    // 距离店铺距离, -1代表店铺未设置
            store_name: "金恒德车品直营店",                                    // 店铺名称
            store_logo: "../upload/store/4slogo.jpg_small.jpg",                 // 店铺LOGO
            store_address: "拱墅区沈半路245号 元通汽车电子商务中心",          // 店铺地址
            store_tel: "400800910930"                                           // 店铺电话
        },{
            store_id: 58,
            store_distance: -1,                                                 // 距离店铺距离, -1代表店铺未设置
            store_name: "浙江辰通三菱SUV旗舰店",
            store_logo: "8262ed3458533460f31db672a0fb78f3.jpg_small.jpg",
            store_address: "杭州市沈半路216号",
            store_tel: null                                                      // 店铺未设置
        }]
    },
    msg: ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>


	<div class="faq-block" id="service-store-getPlan">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 店铺 - 获取预约状态</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/getPlan">http://www.mycjj.com/openapi/store/getPlan</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
                <li>参数说明: </li>
                <li class="return">
				store_id: int 店铺ID<br/>
				month: string 查询的月份，格式XXXX-XX,如 "2014-06", 4位+2位，0不能省略<br/>
				day: string 查询的日期， 格式XXXX-XX-XX, 如 "2014-06-05", 4位+2位+2位, 不能同时与month使用，否则无效
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
请求参数：month 有值时会返回以下结果
{
    code: 200,
    request: "/store/getPlan",
    data: [{
            date: "2014-05-01",
            total: 25,
            used: 1
        },{
            date: "2014-05-02",
            total: 25,
            used: 1
        },...
		{
            date: "2014-05-31",
            total: 25,
            used: 2
		}],
    msg: ""
}
请求参数：day 有值时,且不设置month会返回以下结果
{
    code: 200,
    request: "/store/getPlan",
    data: [{
        time: "08:00-10:00",
        total: 10,
        used: 1
      },{
        time: "10:00-12:00",
        total: 15,
        used: 0
	  }
    ],
    msg: ""
}
</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>

<div class="faq-block" id="service-store-car">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 店铺 - 品牌车型列表(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/getStoreCar">http://www.mycjj.com/openapi/store/getStoreCar</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
                <li>参数说明: </li>
                <li class="return">
				store_id: int 店铺ID<br/>
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/getStoreCar",
    "data": [
        {
            "brand_id": "81",
            "brand_name": "比亚迪",
			"brand_icon": "http://img.mycjj.com/upload/car_brand/ad86d34655c5530d4aebe4956a520db3.jpg"//品牌LOGO
            "brand_index": 1,
            "brand_next": [
                {
                    "brand_id": "1833",
                    "brand_name": "比亚迪",
                    "brand_index": 2,
                    "brand_next": [
                        {
                            "brand_id": "1834",
                            "brand_name": "比亚迪e6",
                            "brand_index": 3
                        },
                        {
                            "brand_id": "1885",
                            "brand_name": "比亚迪F3R",
                            "brand_index": 3
                        }
                    ]
                }
            ]
        },
        {
            "brand_id": "10",
            "brand_name": "大众",
			"brand_icon": "http://img.mycjj.com/upload/car_brand/ad86d34655c5530d4aebe4956a520db3.jpg"//品牌LOGO
            "brand_index": 1,
            "brand_next": [
                {
                    "brand_id": "3541",
                    "brand_name": "一汽-大众",
                    "brand_index": 2,
                    "brand_next": [
                        {
                            "brand_id": "3759",
                            "brand_name": "宝来/宝来经典",
                            "brand_index": 3
                        }
                    ]
                }
            ]
        },
        {
            "brand_id": "31",
            "brand_name": "MINI",
			"brand_icon": "http://img.mycjj.com/upload/car_brand/ad86d34655c5530d4aebe4956a520db3.jpg"//品牌LOGO
            "brand_index": 1,
            "brand_next": [
                {
                    "brand_id": "7330",
                    "brand_name": "MINI",
                    "brand_index": 2,
                    "brand_next": [
                        {
                            "brand_id": "7363",
                            "brand_name": "MINI CLUBMAN",
                            "brand_index": 3
                        }
                    ]
                }
            ]
        }
    ],
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
<div class="faq-block" id="service-store-carSlow">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 店铺 - 根据车型ID获取车款列表(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/getStoreCarSlow">http://www.mycjj.com/openapi/store/getStoreCarSlow</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
                <li>参数说明: </li>
                <li class="return">
				brand_father: int 车型ID<br/>
				page: int 翻页数<br/>
				注：每页返回10条记录
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/getStoreCarSlow",
    "data": {
        "page": 2,//当前翻页数
        "list": [
            {
                "brand_id": "333",
                "brand_name": "奥迪A4 2004款 1.8T 基本型",
                "brand_father": "298",
                "brand_icon": "",
                "brand_sort": "0",
                "brand_show": "1",
                "on_sale": "2"
            },
            {
                "brand_id": "332",
                "brand_name": "奥迪A4 2004款 1.8T",
                "brand_father": "298",
                "brand_icon": "",
                "brand_sort": "0",
                "brand_show": "1",
                "on_sale": "2"
            },
            {
                "brand_id": "331",
                "brand_name": "奥迪A4 2005款 3.0L 运动版",
                "brand_father": "298",
                "brand_icon": "",
                "brand_sort": "0",
                "brand_show": "1",
                "on_sale": "2"
            },
            {
                "brand_id": "330",
                "brand_name": "奥迪A4 2005款 3.0L",
                "brand_father": "298",
                "brand_icon": "",
                "brand_sort": "0",
                "brand_show": "1",
                "on_sale": "2"
            },
            {
                "brand_id": "329",
                "brand_name": "奥迪A4 2005款 2.4L 运动型",
                "brand_father": "298",
                "brand_icon": "",
                "brand_sort": "0",
                "brand_show": "1",
                "on_sale": "2"
            },
            {
                "brand_id": "328",
                "brand_name": "奥迪A4 2005款 2.4L 舒适型",
                "brand_father": "298",
                "brand_icon": "",
                "brand_sort": "0",
                "brand_show": "1",
                "on_sale": "2"
            },
            {
                "brand_id": "327",
                "brand_name": "奥迪A4 2005款 2.4L 尊贵型",
                "brand_father": "298",
                "brand_icon": "",
                "brand_sort": "0",
                "brand_show": "1",
                "on_sale": "2"
            },
            {
                "brand_id": "326",
                "brand_name": "奥迪A4 2005款 1.8T 技术型",
                "brand_father": "298",
                "brand_icon": "",
                "brand_sort": "0",
                "brand_show": "1",
                "on_sale": "2"
            },
            {
                "brand_id": "325",
                "brand_name": "奥迪A4 2005款 1.8T 入门型",
                "brand_father": "298",
                "brand_icon": "",
                "brand_sort": "0",
                "brand_show": "1",
                "on_sale": "2"
            },
            {
                "brand_id": "324",
                "brand_name": "奥迪A4 2005款 1.8T 6挡自动舒适型",
                "brand_father": "298",
                "brand_icon": "",
                "brand_sort": "0",
                "brand_show": "1",
                "on_sale": "2"
            }
        ],
        "has_next_page": "true"//是否有下一页,true:有,false:没有
    },
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
<div class="faq-block" id="service-store-carDetail">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 店铺 - 根据车款ID获取详情(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/getStoreCarDetail">http://www.mycjj.com/openapi/store/getStoreCarDetail</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
                <li>参数说明: </li>
                <li class="return">
				brand_id: int 车款ID<br/>
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/getStoreCarDetail",
    "data": {
        "product_id": "1",
        "car_brand_id": "1380",
        "product_name": "奥迪A1 2012款 1.4 TFSI Urban", //车款名称
        "market_price": "22.48",//厂家指导价格
        "company": "奥迪(进口)",//厂商
        "car_grade_id": "2", //级别（1=微型车,2=小型车,3=紧凑型车,4=中型车,5=中大型车,6=豪华车,7=跑车,8=MPV，9=SUV，10=微面，11=微卡，12=轻卡，13=皮卡）
        "car_grade": "小型车",
        "engine": "1.4T 122马力 L4", //发动机
        "params1": "7挡双离合",//变速箱
        "params2": "3954*1740*1416",//长×宽×高(mm)
        "params3": "3门4座两厢车",//车身结构
        "high_speed": "203",//最高车速(km/h)
        "official_accelerate": "8.9",//官方0-100加速(s)
        "real_accelerate": "0",//实测0-100加速(s)
        "real_brake": "0",//实测100-0制动(m)
        "real_oil": "0.0",//实测油耗(L)
        "ministry_oil": "5.5",//工信部综合油耗(L)
        "warranty": "两年不限公里",//整车质保
        "body_lang": "3954",//长度(mm)
        "body_width": "1740",//宽度(mm)
        "body_height": "1416",//高度(mm)
        "body_wheelbase": "2469",//轴距(mm)
        "body_front_track": "0",//前轮距(mm)
        "body_back_track": "0",//前轮距(mm)
        "body_least_earth_track": "0",//最小离地间隙(mm)
        "body_weight": "1215",//整备质量(Kg)
        "body_structure": "两厢车",//车身结构(汽车类别：如紧凑型)
        "body_door": "3",//车门数(个)
        "body_seat": "4",//座位数(个)
        "body_tank": "45",//油箱容积(L)
        "body_trunk": "127",//行李箱容积(L)
        "engine_model": "",//发动机型号
        "engine_exhaust": "1390",//发动机型号
        "engine_Intake": "涡轮增压",//进气形式
        "engine_arrange_form": "L",//气缸排列形式
        "engine_cylinder_number": "4",//气缸数(个)
        "engine_valve_number": "4",//每缸气门数(个)
        "engine_compression": "0.0",//每缸气门数(个)
        "engine_mechanism": "DOHC",//配气机构
        "engine_valve_path": "0",//缸径
        "engine_momentum": "0",//冲程
        "engine_max_horsepower": "122",//最大马力(Ps)
        "engine_max_power": "90",//最大功率(kW)
        "engine_max_power_turn_speed": "5000",//最大功率转速(rpm)
        "engine_max_torque": "200",//最大扭矩(N·m)
        "engine_max_torque_turn_speed": "1500",//最大扭矩转速(rpm)
        "engine_special_technic": "",//发动机特有技术
        "engine_fuel": "汽油",//燃料形式
        "engine_fuel_grade": "97号",//燃油标号
        "engine_fuel_supply": "直喷",//供油方式
        "engine_valve_cover_material": "铝",//缸盖材料
        "engine_valve_body_material": "铁",//缸体材料
        "engine_environment": "国V",//环保标准
        "transmission_complex": "7挡双离合",//变速箱简称
        "transmission_number": "7",//变速箱挡位个数
        "transmission_switch": "双离合变速箱(DCT)",//变速箱类型(如 手动变速箱(MT) )
        "chassis_wheel_drive": "前置前驱",//驱动方式(如 前置后驱..）
        "chassis_front_suspension": "麦弗逊式独立悬架",//前悬挂类型
        "chassis_back_suspension": "扭力梁式半独立悬架",//后悬挂类型
        "chassis_power_steer": "电动助力",//助力类型（机械液压助力、电子液压助力、电动助力）
        "chassis_structure": "承载式",//车体结构
        "wheel_front_brake": "通风盘式",//前制动器类型
        "wheel_back_brake": "盘式",//后制动器类型
        "wheel_parking_brake": "手刹",//驻车制动类型
        "wheel_front_spec": "215/45 R16",//前轮胎规格
        "wheel_back_spec": "215/45 R16",//后轮胎规格
        "wheel_spare_spec": "非全尺寸",//备胎规格
        "security_driver_airbag": "1",//驾驶座安全气囊(1为标配，2为选配，默认为空，无法配置)
        "security_deputy_airbag": "1",//副驾驶安全气囊(1为标配，2为选配，默认为空，无法配置)
        "security_front_side_airbag": "1",//前排侧气囊(1为标配，2为选配，默认为空，无法配置)
        "security_back_side_airbag": "",//后排侧气囊(1为标配，2为选配，默认为空，无法配置)
        "security_front_head_airbag": "1",//前排头部气囊(气帘)(1为标配，2为选配，默认为空，无法配置)  
        "security_back_head_airbag": "1",//后排头部气囊(气帘)(1为标配，2为选配，默认为空，无法配置)  
        "security_knee_airbag": "",//膝部气囊(1为标配，2为选配，默认为空，无法配置)                
        "security_wheel_pressure": "2",//胎压监测装置(1为标配，2为选配，默认为空，无法配置)    
        "security_zero_pressure_driving": "",//零胎压继续行驶(1为标配，2为选配，默认为空，无法配置)  
        "security_seat_belt_point": "1",//安全带未系提示(1为标配，2为选配，默认为空，无法配置)       
        "security_ISO_FIX_child_seat_interface": "1",//ISO FIX儿童座椅接口(1为标配，2为选配，默认为空，无法配置)   
        "security_LATCH_seat_interface": "",//LATCH座椅接口(1为标配，2为选配，默认为空，无法配置)           
        "security_engine_electronic": "1",//发动机电子防盗(1为标配，2为选配，默认为空，无法配置)  
        "security_inside_lock": "1",//车内中控锁(1为标配，2为选配，默认为空，无法配置)  
        "security_remote_key": "1",//遥控钥匙(1为标配，0为选配，默认为空，无法配置)     
        "security_keyless_start": "2",//无钥匙启动系统(1为标配，0为选配，默认为空，无法配置)   
        "control_ABS_antilock": "1",//ABS防抱死      
        "control_brake_distribution": "1",//制动力分配(EBD/CBC等)      
        "control_brake_assist": "1",//刹车辅助(EBA/BAS/BA等)      
        "control_traction": "1",//牵引力控制(ASR/TCS/TRC等)       
        "control_stability": "1",//车身稳定控制(ESP/DSC/VSC等)      
        "control_auto_parking": "1",//自动驻车/上坡辅助   
        "control_descent": "",//陡坡缓降 
        "control_variable_suspension": "",//可变悬挂
        "control_air_suspension": "",//空气悬挂 
        "control_variable_steering_ratio": "",//可变转向比 
        "outside_electric_skylight": "",//电动天窗(1为标配，2为选配，默认为空，无法配置)       
        "outside_panoramic_skylight": "",//全景天窗(1为标配，2为选配，默认为空，无法配置)    
        "outside_sport_appearance_package": "2",//运动外观套件(1为标配，2为选配，默认为空，无法配置)   
        "outside_alloy_wheel": "1",//铝合金轮毂(1为标配，2为选配，默认为空，无法配置)
        "outside_electric_pull_door": "",//电动吸合门(1为标配，2为选配，默认为空，无法配置)      
        "inside_leather_steering": "1",//真皮方向盘(1为标配，2为选配，默认为空，无法配置)        
        "inside_steering_wheel_up_down": "1",//方向盘上下调节(1为标配，2为选配，默认为空，无法配置)      
        "inside_steering_wheel_before_after": "1",//方向盘前后调节(1为标配，2为选配，默认为空，无法配置)     
        "inside_steering_wheel_electric_adjustment": "",//方向盘电动调节(1为标配，2为选配，默认为空，无法配置)    
        "inside_steering_wheel_multifunction": "2",//多功能方向盘(1为标配，2为选配，默认为空，无法配置)          
        "inside_shift_on_steering_wheel": "2",//方向盘换挡(1为标配，2为选配，默认为空，无法配置)        
        "inside_cruise": "2",//定速巡航(1为标配，2为选配，默认为空，无法配置)                
        "inside_park_assist": "2",//泊车辅助(1为标配，2为选配，默认为空，无法配置)    
        "inside_reversing_video": "",//倒车视频影像(1为标配，2为选配，默认为空，无法配置)          
        "inside_driving_computer": "1",//行车电脑显示屏(1为标配，2为选配，默认为空，无法配置)       
        "inside_heads_up_display": "",//HUD抬头数字显示(1为标配，2为选配，默认为空，无法配置)       
        "seat_leather_or_imitation": "2",//真皮/仿皮座椅    
        "seat_sport": "",//运动座椅    
        "seat_up_down": "1",//座椅高低调节     
        "seat_lumbar_adjustment": "2",//腰部支撑调节 
        "seat_shoulder_adjustment": "",//肩部支撑调节 
        "seat_front_electric_adjustment": "",//前排座椅电动调节     
        "seat_second_backrest_angle_adjustment": "",//第二排靠背角度调节      
        "seat_second_move": "",//第二排座椅移动 
        "seat_back_electric_adjustment": "",//后排座椅电动调节   
        "seat_electric_and_memory": "",//电动座椅记忆    
        "seat_heat_front": "2",//前排座椅加热 
        "seat_heat_back": "",//后排座椅加热     
        "seat_ventilation": "",//座椅通风
        "seat_massage": "",//座椅按摩 
        "seat_back_recline_overall": "",//后排座椅整体放倒     
        "seat_back_scale_down": "1",//后排座椅比例放倒    
        "seat_third": "",//第三排座椅  
        "seat_front_center_armrest": "2",//前座中央扶手   
        "seat_back_center_armrest": "",//后座中央扶手
        "seat_back_cup_holder": "",//后排杯架  
        "seat_electric_trunk": "",//电动后备厢 
        "multimedia_GPS": "2",//GPS导航系统  
        "multimedia_GPS_interactive": "",//定位互动服务  
        "multimedia_center_color_large_screen": "2",//中控台彩色大屏 
        "multimedia_human_computer_interaction": "2",//人机交互系统  
        "multimedia_internal_hard_drive": "2",//内置硬盘
        "multimedia_bluetooth_car_phpne": "2",//蓝牙/车载电话 
        "multimedia_car_TV": "2"//车载电视       
        "multimedia_back_LCD_screen": "",//后排液晶屏
        "multimedia_external_audio_interface": "1",//外接音源接口(AUX/USB/iPod等)  
        "multimedia_CD_support_MP3_and_WMA": "1",//CD支持MP3/WMA 
        "multimedia_single_CD": "1",//单碟CD   
        "multimedia_virtual_multidisc_CD": "",//虚拟多碟CD 
        "multimedia_multidisc_CD_system": "2",//多碟CD系统 
        "multimedia_single_DVD": "2",//单碟DVD  
        "multimedia_multidisc_DVD_system": "",//多碟DVD系统        
        "multimedia_speaker_2to3": "",//2-3喇叭扬声器系统 
        "multimedia_speaker_4to5": "",//4-5喇叭扬声器系统         
        "multimedia_speaker_6to7": "",//6-7喇叭扬声器系统   
        "multimedia_speaker_greater_or_equal_8": "1",//≥8喇叭扬声器系统  
        "light_HID": "2",//氙气大灯 
        "light_LED_headlight": "",//LED大灯     
        "light_daytime_run_headlight": "1",//日间行车灯      
        "light_automatic_headlight": "2",//自动头灯 
        "light_turn_headlight": "",//转向头灯(辅助灯)        
        "light_front_fog_headlight": "2",//前雾灯
        "light_height_adjustable_headlight": "",//大灯高度可调                 
        "light_washer_headlight": "2",//大灯清洗装置   
        "light_inside_ambience_light": "2",//车内氛围灯   
        "mirror_front_electric_window": "1",//前电动车窗       
        "mirror_back_electric_window": "",//后电动车窗 
        "mirror_antitrap_hand_window": "1",//车窗防夹手功能
        "mirror_UV_protection_window": "1",//防紫外线/隔热玻璃 
        "mirror_back_electric_mirror": "1",//后视镜电动调节 
        "mirror_back_mirror_heating": "1",//后视镜加热
        "mirror_back_mirror_protect_eye": "2",//后视镜自动防眩目      
        "mirror_back_mirror_electric_fold": "2",//后视镜电动折叠  
        "mirror_back_mirror_memory": "",//后视镜记忆 
        "mirror_back_window_sunshade": "",//后风挡遮阳帘
        "mirror_back_side_window_sunshade": "",//后排侧遮阳帘
        "mirror_visor_up_mirror": "1",//遮阳板化妆镜   
        "mirror_back_wiper": "1",//后雨刷
        "mirror_sensing_wiper": "2",//感应雨刷 
        "ACR_manual": "1",//手动空调
        "ACR_automatic": "2",//自动空调 
        "ACR_back_row_independent": "",//后排独立空调
        "ACR_back_seat_outlet": "",//后座出风口
        "ACR_temperature_zone_control": "",//温度分区控制 
        "ACR_pollen_filter": "1",//空气调节/花粉过滤
        "ACR_car_refrigerator": "",//车载冰箱
        "hightech_automatic_parking": "",//自动泊车入位
        "hightech_side_assist": "",//并线辅助  
        "hightech_active_brake": "",//主动刹车/主动安全系统  
        "hightech_integral_active_turn": "",//整体主动转向系统 
        "hightech_night_vision": "",//夜视系统  
        "hightech_center_LCD_split_screen": "",//中控液晶屏分屏显示
        "hightech_adaptive_cruise": "",//自适应巡航 
        "hightech_panoramic_camera": "",//全景摄像头 
        "body_back_door_open_style": "",//后排车门开启方式 
        "body_containerization_size": "0.00",// 货箱尺寸(mm)  
        "body_max_load": "0.00"//最大载重质量(kg)   
    },
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	
	<div class="faq-block" id="service-store-article">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 店铺 - 根据店铺ID获取资讯(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/getStoreArticle">http://www.mycjj.com/openapi/store/getStoreArticle</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
                <li>参数说明: </li>
                <li class="return">
				store_id: int 店铺ID<br/>
				pate: int 翻页数
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/getStoreArticle",
    "data": {
        "page": 1,//当前页面数
        "list": [
            {
                "id": "1",//资讯ID
                "article_store": "298",//店铺ID
                "article_show": "1",//是否显示，1=演示
                "article_title": "111111",//资讯标题
				article_brief: "aaa",                             // 资讯简介
                "article_content": "11111",//资讯内容
                "article_time": "2014-05-06 12:00:00"//发布时间
				"article_pic": "xxx.jpg"//资讯图片
            }
        ],
        "has_next_page": "false" //是否有下一页内容，false:没有下一页,true:有下一页
    },
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	
	<div class="faq-block" id="service-store-activity">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 店铺 - 获取店铺活动列表(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/getActivity">http://www.mycjj.com/openapi/store/getActivity</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
                <li>参数说明: </li>
                <li class="return">
				store_id: int 商铺ID<br/>
				page: int 翻页数<br/>
				注：每页返回10条记录
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/getActivity",
    "data": {
        "page": 1,//当前页数
        "list": [
            {
                "id": "1",//活动ID
                "activity_title": "测试",//活动名称
                "activity_banner": "http://img.mycjj.com/upload/111.jpg",//活动图片
                "activity_address": "dddd",//活动地址
                "activity_start_date": "1231231",//活动开始时间
                "activity_end_date": "12312",//活动结束时间
                "activity_phone": "18792448443",//联系电话
                "activity_sign": "0",//报名人数
                "activity_store": "298",//店铺ID
				"activity_desc": "活动简介",//活动简介
            }
        ],
        "has_next_page": "false"//是否有下一页,true:有,false:没有
    },
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	
	<div class="faq-block" id="service-store-activity_detail">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 店铺 - 获取活动详情</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/getActivityDetail">http://www.mycjj.com/openapi/store/getActivityDetail</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
                <li>参数说明: </li>
                <li class="return">
				activity_id: int 活动ID<br/>
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/getActivityDetail",
    "data": {
        "id": "1",
        "activity_title": "把妹活动12",//活动标题
        "activity_banner": "http://img.mycjj.com/upload/activity/0dcb8a72415fb8047f4c188d6d8a5153.png",//活动图片
        "activity_address": "东莞",//活动地址
        "activity_start_date": "2014-05-26 01:00:00",//活动开始时间
        "activity_end_date": "2014-05-26 02:00:00",//活动结束时间
        "activity_phone": "18691635352",//联系手机
        "activity_sign": "2",//报名人数
        "activity_store": "4",//活动店铺ID
        "activity_store_name": "",//活动店铺名称
        "activity_desc": "我测试一个看看，呵呵\r\n看看一个啊\r\n111111"//活动介绍
    },
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	
	<div class="faq-block" id="service-store-sign">
	  <div class="faq-block-content">
		<!-- faq-item -->
		<div class="faq-item"> 
		  <div class="api_name">服务点 - 店铺 - 活动报名(N)</div>
		  <div class="answer">
			<ul>
				<li>URL: </li>
				<li class="url">
					<a href="http://www.mycjj.com/openapi/store/addSign">http://www.mycjj.com/openapi/store/addSign</a>
				</li>
				<li>请求方式: GET</li>
				<li>返回格式: JSON</li>
                <li>参数说明: </li>
                <li class="return">
				activity_id: int 活动ID<br/>
				</li>
				<li>返回结果: </li>
				<li class="return">
				<pre>
{
    "code": 200,
    "request": "/store/addSign",
    "data": null,
    "msg": ""
}</pre>
				</li>
			</ul>
		  </div>
		</div>
	  </div>
	</div>
	<h2 id="reservation">积分模块</h2>
	<div class="faq-block" id="score-getSetting">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 获取静态设置</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/sycee/getSetting">http://www.mycjj.com/openapi/sycee/getSetting</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>调用说明: 供分享领元宝、元宝消费、消费领元宝页面使用</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/sycee/getSetting",
    data: {
        share: {                                                     // 分享领元宝页面
            regist: "+100元宝",                                      // 好友注册
            buy_car: "购车额*8%",                                    // 购买整车
            repair: "消费额*5%",                                     // 保养维修
            facial: "消费额*5%",                                     // 汽车美容
            buy_parts: "消费额*3%"                                   // 购买零配件
        },
        cost: {                                                      // 元宝消费页面
            buy_car: {                                               // 整车购买
                max: 10000,                                          // 可使用的元宝数
                value: 1000                                          // 抵价1000元RMB
            },
            upkeep: { max: 10000, value: 1000 },                     // 保养，参数同上
            repair: { max: 10000, value: 1000 },                     // 维修，参数同上
            facial: { max: 10000, value: 1000 },                     // 美容，参数同上
            buy_parts: { max: 10000, value: 1000 }                   // 购买零配件，参数同上
        },
        earn: {                                                      // 消费领元宝
            buy_car: "购车额*8%",                                    // 整车购买
            upkeep: "消费额*8%",                                     // 保养
            repair: "消费额*8%",                                     // 维修
            facial: "消费额*8%",                                     // 美容
            buy_parts: "消费额*5%"                                   // 购买零配件
        },
        singin: {
            points_signin: "5"                                         // 用户签到一次可获得的积分数
        }
    },
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="faq-block" id="score-share">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 分享领元宝 - 邀请好友</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/sycee/share">http://www.mycjj.com/openapi/sycee/share</a>
						</li>
						<li>请求方式: POST</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li class="return">
							type: string 分享类型 weixin-微信, group-朋友圈, mul-一键, qq, sms-短信, email-邮件
						</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
	"code": 200,
	"request": "/sycee/share",
	"data": null,
	"msg": ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="faq-block" id="score-clue">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 分享领元宝 - 提供线索</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/sycee/clue">http://www.mycjj.com/openapi/sycee/clue</a>
						</li>
						<li>请求方式: POST</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li class="return">
							name: string 好友姓名<br/>
							phone: string 好友电话<br/>
							cost_type: int 消费类型 有效值 1-整车购买, 2-保养维修, 3-汽车美容, 4-购买零配件<br/>
							brand1: int 一级品牌ID<br/>
							brand2: int 二级品牌ID<br/>
							brand3: int 三级品牌ID<br/>
							brand4: int 四级品牌ID
						</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
	"code": 200,
	"request": "/sycee/clue",
	"data": null,
	"msg": ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="faq-block" id="score-signin-doSign">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 签到 - 提交</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/sycee/doSign">http://www.mycjj.com/openapi/sycee/doSign</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
	"code": 200,
	"request": "/sycee/doSign",
	"data": null,
	"msg": ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="faq-block" id="score-signin-getSigns">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 签到 - 获取记录</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/sycee/getSigns">http://www.mycjj.com/openapi/sycee/getSigns</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>请求参数:</li>
						<li>参数说明: </li>
						<li class="return">
						month: string 要查询的月份，不填默认为当月, 格式：2014-05
						</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/sycee/getSigns",
    data: [
        {
            id: "1",
            member_id: "1",
            sign_date: "2014-05-13"        // 签到日期
        }
    ],
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	
	<div class="faq-block" id="score-getRecord">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 获取元宝记录(获得|消费)</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/sycee/getRecord">http://www.mycjj.com/openapi/sycee/getRecord</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>请求参数:</li>
						<li>参数说明: </li>
						<li class="return">
						type: string 要查询的记录类型，消费cost|赚取earn(默认)<br/>
						limit: number 获取的条数， 默认为10条<br/>
						offset: number 偏移位置，默认为0
						</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/sycee/getRecord",
    data: {
        list: [
            {
                logtime: "2014-05-19",
                points: "5",
                desc: "用户签到"
            },{
                logtime: "2014-05-19",
                points: "5",
                desc: "用户签到"
            },{
                logtime: "2014-05-16",
                points: "5",
                desc: "用户签到"
            },{
                logtime: "2013-08-07",
                points: "1",
                desc: "会员登录"
            },{
                logtime: "2013-04-15",
                points: "1",
                desc: "会员登录"
            }
        ],
        has_next_page: false
    },
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
<!--------------------------------------- 元宝兑换 ------------------------------------------->
	<div class="faq-block" id="score-doCash">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 元宝兑换 - 兑换礼品</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/sycee/doCash">http://www.mycjj.com/openapi/sycee/doCash</a>
						</li>
						<li>请求方式: POST</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li class="return">
						goods_id: number 商品ID
						</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/goods/doCash",
    data: null,
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	
	<div class="faq-block" id="score-getsCash">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 元宝兑换 - 获取商品列表</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/goods/getsCash">http://www.mycjj.com/openapi/goods/getsCash</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li class="return">
						limit: number 获取的条数， 默认为10条<br/>
						offset: number 偏移位置，默认为0
						</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/goods/getsCash",
    data: {
        has_next_page: false,
        list: [ {
            id: "1",
            name: "奥利奥 双心脆威化饼干14.5g*16",
            price: "12.00",
            points: "300",
            image: "../upload/pointprod/xxxxx.jpg",
            islimit: "1",                                          // 是否限购
            limit_num: "1"                                         // 限购数量，在islimit=1时有效
        },{
            id: "2",
            name: "馨牌 提花格子毛巾【测试数据】",
            price: "13.00",
            points: "100",
            image: "../upload/pointprod/ccccc.jpg",
            islimit: "1",                                          // 是否限购
            limit_num: "0"                                         // 限购数量，在islimit=1时有效
        },{...}
        ]
    },
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>


<!----------------------------------------------------------------- 元宝订单相关API ------------------------------------------------->
	<div class="faq-block" id="score-order-gets">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 我的奖品 - 获取列表</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/pointsOrder/gets">http://www.mycjj.com/openapi/pointsOrder/gets</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li class="return">
						limit: number 获取的条数， 默认为10条<br/>
						offset: number 偏移位置，默认为0
						</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/pointsOrder/gets",
    data: {
        has_next_page: false,
        list: [{
            id: "2",                                          // 订单ID
            sn: "axxxxxxxx0",                                 // 订单SN，没啥用
            add_time: "2014-05-21",                           // 订单生成时间
            type: "1",                                        // 类型， 1-兑换， 2-抽奖
            points: "0",                                      // 兑换积分
            price: "0.00",                                    // 价值多少钱
            goods_name: "礼品兑换商品测试",                  // 奖品名称
            goods_image: "../upload/pointprod/goods.png"      // 奖品图片
        },{
            id: "1",
            sn: "啊啊啊啊啊",
            add_time: "1970-01-01",
            type: "2",
            points: "0",
            price: "0.00",
            goods_name: "抽奖礼品测试",
            goods_image: "../upload/pointprod/"
        }]
    },
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="faq-block" id="score-order-getCount">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 我的奖品 - 统计</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/pointsOrder/getCount">http://www.mycjj.com/openapi/pointsOrder/getCount</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: 主要用于元宝兑换-限购功能</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/pointsOrder/getCount",
    data: [{
        goods_id: "2",                        // 商品ID
        total: "1"                            // 已购买的数量
    },{
        goods_id: "3",
        total: "1"
    }],
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

<!-----------------------------                    游戏                ---------------------------------->
	
	<div class="faq-block" id="score-game-getConfig">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 游戏 - 获取配置</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/game/getConfig">http://www.mycjj.com/openapi/game/getConfig</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li class="return">game string 游戏名称 scratch - 刮刮卡 rote - 大转盘 lottery - 元宝抽奖<li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/game/getConfig",
    data: {
        day_max: "3",                         // 每个用户每天的最大抽奖次数
        end_time: "1500723165",               // 抽奖结束时间
        id: "1",                              // 游戏ID
        image: "scratch_card.png",            // 游戏图片
        name: "元通刮刮卡",                   // 游戏名称
        points: "500",                        // 需要消耗的积分
        prize: [{
            name: "50000元宝",                // 奖品名称
            level: 1,                         // 中奖等级 1代表一等奖
            max: 1                            // 中奖名额
        },{
            name: "5000元宝",
            level: 2,
            max: 2
        },{
            name: "1000元宝",
            level: 3,
            max: 10
        }],
        start_time: "1400723142"               // 游戏开始时间
    },
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="faq-block" id="score-game-getPrize">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 元宝抽奖 - 商品列表</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/goods/getsPrize">http://www.mycjj.com/openapi/goods/getsPrize</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li class="return">
						limit: number 获取的条数， 默认为10条<br/>
						offset: number 偏移位置，默认为0
						<li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/goods/getsPrize",
    data: {
        has_next_page: false,
        list: [{
            id: "1",                       // 奖品ID
            name: "抽奖奖品1",             // 奖品名称
            price: "0.00",                 // 奖品价格
            points: "100",                 // 抽奖需要消耗元宝
            image: "../upload/game/1.png", // 奖品图片
            time_max: "3",                 // 每次进入的翻牌次数
            success: "16"                  // 已中奖人数
        }]
    },
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="faq-block" id="score-game-doPrizeCalc">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 元宝抽奖 - 抽奖计算</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/game/lottery">http://www.mycjj.com/openapi/game/lottery</a>
						</li>
						<li>请求方式: POST</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li class="return">
						id: number 抽奖商品ID<br/>
						is_new: int 是否是新一轮抽奖 1:是， 0:否
						<li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/game/lottery",
    data: {
        level:1                  // 1 代表抽中， -1 代表未抽中
    },
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="faq-block" id="score-game-scratch">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 游戏 - 刮刮卡计算</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/game/scratch">http://www.mycjj.com/openapi/game/scratch</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: 无</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/game/scratch",
    data: {
        level: -1          // 计算结果， -1 未中奖， 1-n 为中奖级别， 例如1为1等奖
    },
msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	
	<div class="faq-block" id="score-game-rote">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">积分 - 游戏 - 大转盘计算</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/game/rote">http://www.mycjj.com/openapi/game/rote</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: 无</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/game/rote",
    data: {
        level: -1          // 计算结果， -1 未中奖， 1-n 为中奖级别， 例如1为1等奖
    },
msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	
	
	
	
	<div class="faq-block" id="circle-getsJoins">
		<div class="faq-block-content">
			<div class="faq-item">
				<div class="api_name">车圈 - 获取我的车圈</div>
				<div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/circle/getsJoins">http://www.mycjj.com/openapi/circle/getsJoins</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: 无</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/circle/getsJoins",
    data: [{
        id: 1,                                                  // 圈子ID
        name: "元通旗舰店",                                     // 圈子名称
        member_count: 1,                                        // 圈子成员数
        theme_count: 0,                                         // 圈子主题数
        new_count: 0,                                           // 圈子最后一个图标显示数
        image: "http://img.mycjj.com/upload/circle/group/1.jpg" // 圈子图片
    },{
        id: 2,
        name: "第二个圈子",
        member_count: 2,
        theme_count: 0,
        new_count: 0,
        image: "http://img.mycjj.com/upload/circle/group/2.jpg"
    }],
    msg: ""
}</pre>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="faq-block" id="circle-getsLastThemes">
		  <div class="faq-block-content">
			<!-- faq-item -->
			<div class="faq-item"> 
			  <div class="api_name">车圈 - 获取推荐店铺主题</div>
			  <div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/circle/getsLastThemes">http://www.mycjj.com/openapi/circle/getsLastThemes</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: 无</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/circle/getsLastThemes",
    data: [{
        theme_id: 3,                         // 主题ID
        theme_name: "标题1",                 // 主题标题
        thclass_id: 2,                       // 主题分类ID
        thclass_name: "普通",                // 主题分类名称
        author_id: 1,                        // 作者ID
        author_name: "lonphy",               // 作者名称
        author_avatar: "",                   // 作者头像,为空表示木有头像
        circle_id: 1,                        // 所属圈子ID
        circle_name: "圈子A",                // 所属圈子名称
        addtime: "12小时",                   // 发布时间
        comment_count: 0,                    // 评论数
        share_count: 0,                      // 分享次数
        like_count: 0                        // 赞次数
    },{ ...}
    ],
    msg: ""
}</pre>
						</li>
					</ul>
			  </div>
			</div>
		  </div>
    </div>

	<div class="faq-block" id="circle-getsThemes">
		  <div class="faq-block-content">
			<!-- faq-item -->
			<div class="faq-item"> 
			  <div class="api_name">车圈 - 获取主题列表(N)</div>
			  <div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/circle/getsThemes">http://www.mycjj.com/openapi/circle/getsThemes</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						
						<li class="return"><pre>
type       : string 类型标识 my ：我发布的主题,  circle: 指定圈子的主题, firend: 指定圈友的主题, more: 更多主题
circle_id  : int    圈子ID,在类型标识为 circle时必须设置
author_id  : int    圈友ID, 在类型标识为 firend时必须设置
offset     : int    分页偏移量
limit      : int    每页的数量
						</pre>
						<li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/circle/getsThemes",
    data: {
    list: [{
        theme_id: 5,                       // 主题ID
        theme_name: "标题1",               // 主题标题
        thclass_id: 2,                     // 分类ID
        thclass_name: "普通",              // 分类名称
        author_id: 1,                      // 作者ID
        author_name: "lonphy",             // 作者名称
        author_avatar: "",                 // 作者头像
        circle_id: 1,                      // 所属圈子ID
        circle_name: "圈子A",              // 圈子名称
        addtime: "2014-06-20",             // 主题发布时间
        comment_count: 0,                  // 主题评论数量
        share_count: 0,                    // 主题分享数量
        like_count: 0,                     // 主题赞数量
        is_stick: 1,                       // 是否置顶
        is_digest: 0,                      // 是否加精
        is_recommend: 0                    // 是否推荐
    },{
        theme_id: 6,
        theme_name: "标题1",
        thclass_id: 2,
        thclass_name: "普通",
        author_id: 1,
        author_name: "lonphy",
        author_avatar: "",
        circle_id: 2,
        circle_name: "圈子A",
        addtime: "1970-01-01",
        comment_count: 0,
        share_count: 0,
        like_count: 0,
        is_stick: 0,
        is_digest: 0,
        is_recommend: 0
    }],
    has_next_page: false，                 // 是否有下一页
    total: 2,                              // 主题总数
	
// ========================================== type = circle 时 附带的圈子数据 ===================================
    ext: {
        circle_id: 1,                      // 圈子ID
        circle_name: "元通旗舰店",         // 圈子名称
        circle_masterid: 1,                // 圈主ID
        circle_mastername: "admin",        // 圈主名称
        circle_mcount: 1,                  // 圈子成员数
        circle_thcount: 4,                 // 圈子主题数
        circle_today: 1,                   // 圈子今日主题数
        circle_notice: "暂时没有公告",     // 圈子公告
        circle_addtime: "2014-06-11"       // 圈子创建时间
    },
// =========================================== type = firend 时附带的圈友数据 ===================================
    ext: {
        member_id: 1,                        // 圈友ID
        member_name: "admin",                // 圈友名称
        member_sex: 0,                       // 圈友性别， 同用户注册那里
        total_themes: 6,                     // 圈友主题数
        last_login: "2014-06-20 15:22:12",   // 圈友最后登录时间
        avatar: "http://xxx.com/admin.png"   // 圈友头像
    }
    },
    msg: ""
}</pre>
						</li>
					</ul>
			  </div>
			</div>
		  </div>
    </div>

				
	<div class="faq-block" id="circle-theme-get">
		  <div class="faq-block-content">
			<!-- faq-item -->
			<div class="faq-item"> 
			  <div class="api_name">车圈 - 获取主题详细(N)</div>
			  <div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/circle/getTheme">http://www.mycjj.com/openapi/circle/getTheme</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li class="return">theme_id : int 主题ID</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/circle/getTheme",
    data: {
        id: 1,                                   // 主题ID
        time: "2014-05-28",                      // 主题发布时间
        title: "标题11",                         // 主题标题
        content: "阿萨德发射点发射得分",        // 主题内容
        circle_id: 1,                            // 主题所属圈子ID
        circle_name: "圈子A",                    // 主题所属圈子名称
        author_id: 1,                            // 作者ID
        author_name: "lonphy",                    // 作者名称
        author_avatar: "",                       // 作者头像
        thclass_id: 2,                           // 主题分类ID
        thclass_name: "普通",                    // 主题分类名称
        sharecount: 0,                           // 分享次数
        commentcount: 0,                          // 评论次数
        likecount: 0,                            // 赞次数
        is_stick: 0,                              // 是否置顶
        is_digest: 0,                             // 是否加精
        is_recommend: 0,                          // 是否推荐
        is_nolike: true                           // 当前用户未赞过？
    },
    msg: ""
}</pre>
						</li>
					</ul>
			  </div>
			</div>
		  </div>
    </div>

	<div class="faq-block" id="circle-comment-gets">
		  <div class="faq-block-content">
			<!-- faq-item -->
			<div class="faq-item"> 
			  <div class="api_name">车圈 - 获取主题评论(N)</div>
			  <div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/circle/getsComment">http://www.mycjj.com/openapi/circle/getsComment</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						
						<li class="return"><pre>
theme_id   : int    主题ID
offset     : int    分页偏移量
limit      : int    每页的数量</pre></li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/circle/getsComment",
    data: {
        list: [{
            id : 3,                                          // 评论ID
            member_id : 1,                                   // 评论者ID
            member_name : "lonphy",                          // 评论者昵称
            member_avatar : "http://xxx.com/1.jpg",           // 评论者头像
            reply_content : "内容html 代码",                 // 回复内容
            time : "36分钟前",                               // 回复时间
            reply_id : 1,                                     // 回复指定评论的ID
            reply_name : "asdfasd",                           // 回复指定评论的昵称
            is_closed : 0                                     // 是否已屏蔽，为1时，reply_content无内容
        },{...}
        ],
        has_next_page: false，                 // 是否有下一页
    },
    msg: ""
}</pre>
						</li>
					</ul>
			  </div>
			</div>
		  </div>
    </div>


	<div class="faq-block" id="circle-do-comment">
		  <div class="faq-block-content">
			<!-- faq-item -->
			<div class="faq-item"> 
			  <div class="api_name">车圈 - 评论主题(N)</div>
			  <div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/circle/comment">http://www.mycjj.com/openapi/circle/comment</a>
						</li>
						<li>请求方式: POST</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						
						<li class="return"><pre>
theme_id   : int    主题ID
reply_id   : int    回复的评论ID，1级回复可填0
content    : int    回复的内容</pre></li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/circle/comment",
    data: {
        reply_id:1                               // 新回复的ID
    },
    msg: ""
}</pre>
						</li>
					</ul>
			  </div>
			</div>
		  </div>
    </div>

	<div class="faq-block" id="circle-do-like">
		  <div class="faq-block-content">
			<!-- faq-item -->
			<div class="faq-item"> 
			  <div class="api_name">车圈 - 赞主题(N)</div>
			  <div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/circle/like">http://www.mycjj.com/openapi/circle/like</a>
						</li>
						<li>请求方式: POST</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						
						<li class="return">theme_id   : int    主题ID, 调用的时候如果已经赞过则取消赞，否则新增赞</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/circle/like",
    data: null
    msg: ""
}</pre>
						</li>
					</ul>
			  </div>
			</div>
		  </div>
    </div>

	<div class="faq-block" id="circle-do-share">
		  <div class="faq-block-content">
			<!-- faq-item -->
			<div class="faq-item"> 
			  <div class="api_name">车圈 - 分享主题(N)</div>
			  <div class="answer">
					<ul>
						<li>URL: </li>
						<li class="url">
							<a href="http://www.mycjj.com/openapi/circle/share">http://www.mycjj.com/openapi/circle/share</a>
						</li>
						<li>请求方式: GET</li>
						<li>返回格式: JSON</li>
						<li>参数说明: </li>
						<li class="return">theme_id   : int    主题ID, 该接口主要用于增加分享次数</li>
						<li>返回结果: </li>
						<li class="return">
						<pre>
{
    code: 200,
    request: "/circle/share",
    data: null
    msg: ""
}</pre>
						</li>
					</ul>
			  </div>
			</div>
		  </div>
    </div>




	<div class="faq-block" id="agreement">
		  <div class="faq-block-content">
			<!-- faq-item -->
			<div class="faq-item"> 
			  <div class="api_name">其它-约定</div>
			  <div class="answer">
				<ul>
					<li>为方便开发，对接口做一些常规约定：</li>
					<li>
					1、所有列表类接口，如果不提供分页参数，默认取全部列表数据，如果需要提供分页参数，参数统一命名为：limit,offset，limit表示每页的记录数，offset表示偏移量，注意offset不是表示页码。<br/>
					2、参数名称一律全部小写，没有大写字母。<br/>
					3、表单中传参全部使用POST方式发送。<br/>
					4、所有用户ID，通过授权TOKEN方式获得,无需传参(防止用户拿到TOKEN请求其他UID用户数据)。<br/>
					5、需要登陆权限，目录结尾以(N)标记，所有未标(N)的接口不需要登陆权限。
					</li>
				</ul>
			  </div>
			</div>
		  </div>
    </div>

	<div id="footer">
		<div style="margin: 0pt auto;">
		</div>
	</div>
  </div>
</div></div></body></html>